import Mock from 'mockjs';

const mockProducts = [];

for (let i = 0; i < 10; i++) {
  mockProducts.push(Mock.mock({
    "productId": 3453543535,
    "categoryId":6666666666666666,
    "productNo": null,
    "name": "王氏咕噜肉",
    "title": "颠覆传统技术，肉鲜香有嚼劲",
    "mainImage": "https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top_86d58ae1.png",
    "subImage": "https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top_86d58ae1.png,https://pic.rmb.bdstatic.com/d40c5d6ebda8f5c13edeaf79a60fcd179335.gif",
    "attribute": {
        "产地": [
            "广东"
        ],
        "口味": [
            "香辣味",
            "麻辣味"
        ]
    },
    "detail": "image01.jpg,image02.jpg,image03.jpg",
    "createTime": "2018-12-17"
  }));
}

export { mockProducts };
